package com.groupbuying.task.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author YinJie
 * @email 15048196013@163.com
 * @date 2019-11-29 09:41:29
 * @des
 */
public class XxlJobInfoDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 任务ID
     */
    private Integer id;

    /**
     * 任务分组(执行器主键ID)
     */
    private Integer jobGroup;

    /**
     * 任务执行CRON
     */
    private String jobCron;

    /**
     * 任务描述
     */
    private String jobDesc;

    /**
     * 增加时间
     */
    private Date addTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 作者
     */
    private String author;

    /**
     * 报警邮件
     */
    private String alarmEmail;

    /**
     * 执行器路由策略
     */
    private String executorRouteStrategy;

    /**
     * 执行器任务handler
     */
    private String executorHandler;

    /**
     * 执行器任务参数
     */
    private String executorParam;

    /**
     * 阻塞处理策略
     */
    private String executorBlockStrategy;

    /**
     * 任务执行超时时间
     */
    private Integer executorTimeout;

    /**
     * 失败重试次数
     */
    private Integer executorFailRetryCount;

    /**
     * GLUE类型
     */
    private String glueType;

    /**
     * GLUE源代码
     */
    private String glueSource;

    /**
     * GLUE备注
     */
    private String glueRemark;

    /**
     * GLUE更新时间
     */
    private Date glueUpdatetime;

    /**
     * 子任务ID
     */
    private String childJobid;

    /**
     * 调度状态:停止-stop-0,运行-running-1
     */
    private Integer triggerStatus;

    /**
     * 上次调度时间
     */
    private Long triggerLastTime;

    /**
     * 下次调度时间
     */
    private Long triggerNextTime;

    /**
     * 设置：
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置：执行器主键ID
     */
    public void setJobGroup(Integer jobGroup) {
        this.jobGroup = jobGroup;
    }

    /**
     * 获取：执行器主键ID
     */
    public Integer getJobGroup() {
        return jobGroup;
    }

    /**
     * 设置：任务执行CRON
     */
    public void setJobCron(String jobCron) {
        this.jobCron = jobCron;
    }

    /**
     * 获取：任务执行CRON
     */
    public String getJobCron() {
        return jobCron;
    }

    /**
     * 设置：
     */
    public void setJobDesc(String jobDesc) {
        this.jobDesc = jobDesc;
    }

    /**
     * 获取：
     */
    public String getJobDesc() {
        return jobDesc;
    }

    /**
     * 设置：
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取：
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 设置：
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取：
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置：作者
     */
    public void setAuthor(String author) {
        this.author = author;
    }

    /**
     * 获取：作者
     */
    public String getAuthor() {
        return author;
    }

    /**
     * 设置：报警邮件
     */
    public void setAlarmEmail(String alarmEmail) {
        this.alarmEmail = alarmEmail;
    }

    /**
     * 获取：报警邮件
     */
    public String getAlarmEmail() {
        return alarmEmail;
    }

    /**
     * 设置：执行器路由策略
     */
    public void setExecutorRouteStrategy(String executorRouteStrategy) {
        this.executorRouteStrategy = executorRouteStrategy;
    }

    /**
     * 获取：执行器路由策略
     */
    public String getExecutorRouteStrategy() {
        return executorRouteStrategy;
    }

    /**
     * 设置：执行器任务handler
     */
    public void setExecutorHandler(String executorHandler) {
        this.executorHandler = executorHandler;
    }

    /**
     * 获取：执行器任务handler
     */
    public String getExecutorHandler() {
        return executorHandler;
    }

    /**
     * 设置：执行器任务参数
     */
    public void setExecutorParam(String executorParam) {
        this.executorParam = executorParam;
    }

    /**
     * 获取：执行器任务参数
     */
    public String getExecutorParam() {
        return executorParam;
    }

    /**
     * 设置：阻塞处理策略
     */
    public void setExecutorBlockStrategy(String executorBlockStrategy) {
        this.executorBlockStrategy = executorBlockStrategy;
    }

    /**
     * 获取：阻塞处理策略
     */
    public String getExecutorBlockStrategy() {
        return executorBlockStrategy;
    }

    /**
     * 设置：任务执行超时时间
     */
    public void setExecutorTimeout(Integer executorTimeout) {
        this.executorTimeout = executorTimeout;
    }

    /**
     * 获取：任务执行超时时间
     */
    public Integer getExecutorTimeout() {
        return executorTimeout;
    }

    /**
     * 设置：失败重试次数
     */
    public void setExecutorFailRetryCount(Integer executorFailRetryCount) {
        this.executorFailRetryCount = executorFailRetryCount;
    }

    /**
     * 获取：失败重试次数
     */
    public Integer getExecutorFailRetryCount() {
        return executorFailRetryCount;
    }

    /**
     * 设置：GLUE类型
     */
    public void setGlueType(String glueType) {
        this.glueType = glueType;
    }

    /**
     * 获取：GLUE类型
     */
    public String getGlueType() {
        return glueType;
    }

    /**
     * 设置：GLUE源代码
     */
    public void setGlueSource(String glueSource) {
        this.glueSource = glueSource;
    }

    /**
     * 获取：GLUE源代码
     */
    public String getGlueSource() {
        return glueSource;
    }

    /**
     * 设置：GLUE备注
     */
    public void setGlueRemark(String glueRemark) {
        this.glueRemark = glueRemark;
    }

    /**
     * 获取：GLUE备注
     */
    public String getGlueRemark() {
        return glueRemark;
    }

    /**
     * 设置：GLUE更新时间
     */
    public void setGlueUpdatetime(Date glueUpdatetime) {
        this.glueUpdatetime = glueUpdatetime;
    }

    /**
     * 获取：GLUE更新时间
     */
    public Date getGlueUpdatetime() {
        return glueUpdatetime;
    }

    /**
     * 设置：子任务ID
     */
    public void setChildJobid(String childJobid) {
        this.childJobid = childJobid;
    }

    /**
     * 获取：子任务ID
     */
    public String getChildJobid() {
        return childJobid;
    }

    /**
     * 设置：调度状态:停止-stop-0,运行-running-1
     */
    public void setTriggerStatus(Integer triggerStatus) {
        this.triggerStatus = triggerStatus;
    }

    /**
     * 获取：调度状态:停止-stop-0,运行-running-1
     */
    public Integer getTriggerStatus() {
        return triggerStatus;
    }

    /**
     * 设置：上次调度时间
     */
    public void setTriggerLastTime(Long triggerLastTime) {
        this.triggerLastTime = triggerLastTime;
    }

    /**
     * 获取：上次调度时间
     */
    public Long getTriggerLastTime() {
        return triggerLastTime;
    }

    /**
     * 设置：下次调度时间
     */
    public void setTriggerNextTime(Long triggerNextTime) {
        this.triggerNextTime = triggerNextTime;
    }

    /**
     * 获取：下次调度时间
     */
    public Long getTriggerNextTime() {
        return triggerNextTime;
    }

    @Override
    public String toString() {
        return "XxlJobInfoDO{" + "id=" + id + ",jobGroup=" + jobGroup + ",jobCron=" + jobCron + ",jobDesc=" + jobDesc + ",addTime=" + addTime + ",updateTime=" + updateTime + ",author=" + author + ",alarmEmail=" + alarmEmail + ",executorRouteStrategy=" + executorRouteStrategy + ",executorHandler=" + executorHandler + ",executorParam=" + executorParam + ",executorBlockStrategy=" + executorBlockStrategy + ",executorTimeout=" + executorTimeout + ",executorFailRetryCount=" + executorFailRetryCount + ",glueType=" + glueType + ",glueSource=" + glueSource + ",glueRemark=" + glueRemark + ",glueUpdatetime=" + glueUpdatetime + ",childJobid=" + childJobid + ",triggerStatus=" + triggerStatus + ",triggerLastTime=" + triggerLastTime + ",triggerNextTime=" + triggerNextTime + "}";
    }
}
